<template>
  <div id="app">
    <transition name="slide-fade">
      <router-view />
    </transition>
  </div>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}
.slide-fade-enter-active {
  transition: all 0.3s 0.3s;
}
.slide-fade-leave-active {
  transition: all 0.3s;
}
.slide-fade-enter {
  opacity: 0;
  transform: translateX(-100px);
}
.slide-fade-leave-to {
  opacity: 0;
  transform: translateX(100px);
}
</style>
